<?php

/**
 * Entité modèle : Table des images
 * Représente l'ensemble des images disponibles
 * 
 * <b>Structure :</b>
 * <ul>
 *  <li>id</li>
 *	<li>label</li>
 *  <li>titre</li>
 *	<li>path</li>
 *	<li>pathMiniature</li>
 * </ul>
 * 
 * @author Cyril Souti
 * @version 1.1
 * @package models
 *
 */
class Models_Content_Image extends Models_TableGite
{
	protected $_name = 'content_image';
	protected $_dependentTables = array(Models_Content_ImageTag::CLASS_NAME);
	
	const CLASS_NAME = 'Models_Content_Image';
	
	public function getAll() {
		$all = $this->fetchAll($this->select());
		return $all;
	}
}